package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 托管管理对象 housing_trust
 *
 * @author ruoyi
 * @date 2021-06-18
 */
public class HousingTrust extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long htId;

    /** 类型 */
    @Excel(name = "类型")
    private String htType;

    /** 姓名 */
    @Excel(name = "姓名")
    private String htName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String htPhone;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String htCommunity;

    /** 居室 */
    @Excel(name = "居室")
    private String htHouse;

    /** 面积 */
    @Excel(name = "面积")
    private Long htArea;

    /** 评语 */
    @Excel(name = "评语")
    private String htRemarks;

    /** 价格 */
    @Excel(name = "价格")
    private Long htMoney;

    /** 0创建，1审核，2通过 */
    @Excel(name = "0创建，1审核，2通过")
    private String htState;

    /** 使用者 */
    @Excel(name = "使用者")
    private Long userId;
    @JsonFormat(pattern = "YYYY-mm-dd HH:mm:ss")
    private Date htCreattime;

    private List<TrustEnclosure> trustEnclosures;

    public List<TrustEnclosure> getTrustEnclosures() {
        return trustEnclosures;
    }

    public void setTrustEnclosures(List<TrustEnclosure> trustEnclosures) {
        this.trustEnclosures = trustEnclosures;
    }

    public void setHtId(Long htId)
    {
        this.htId = htId;
    }

    public Long getHtId()
    {
        return htId;
    }
    public void setHtType(String htType)
    {
        this.htType = htType;
    }

    public String getHtType()
    {
        return htType;
    }
    public void setHtName(String htName)
    {
        this.htName = htName;
    }

    public String getHtName()
    {
        return htName;
    }
    public void setHtPhone(String htPhone)
    {
        this.htPhone = htPhone;
    }

    public String getHtPhone()
    {
        return htPhone;
    }
    public void setHtCommunity(String htCommunity)
    {
        this.htCommunity = htCommunity;
    }

    public String getHtCommunity()
    {
        return htCommunity;
    }
    public void setHtHouse(String htHouse)
    {
        this.htHouse = htHouse;
    }

    public String getHtHouse()
    {
        return htHouse;
    }
    public void setHtArea(Long htArea)
    {
        this.htArea = htArea;
    }

    public Long getHtArea()
    {
        return htArea;
    }
    public void setHtRemarks(String htRemarks)
    {
        this.htRemarks = htRemarks;
    }

    public String getHtRemarks()
    {
        return htRemarks;
    }
    public void setHtMoney(Long htMoney)
    {
        this.htMoney = htMoney;
    }

    public Long getHtMoney()
    {
        return htMoney;
    }
    public void setHtState(String htState)
    {
        this.htState = htState;
    }

    public String getHtState()
    {
        return htState;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public Date getHtCreattime() {
        return htCreattime;
    }

    public void setHtCreattime(Date htCreattime) {
        this.htCreattime = htCreattime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("htId", getHtId())
                .append("htType", getHtType())
                .append("htName", getHtName())
                .append("htPhone", getHtPhone())
                .append("htCommunity", getHtCommunity())
                .append("htHouse", getHtHouse())
                .append("htArea", getHtArea())
                .append("htRemarks", getHtRemarks())
                .append("htMoney", getHtMoney())
                .append("htState", getHtState())
                .append("userId", getUserId())
                .toString();
    }
}